
import request from '@/utils/request';

export async function user_list(params?: any) {
  return request('/api/user/user_list/', {
    method: 'GET',
    params,
  });
}
export async function user_authority_list(params?: any) {
  return request('/api/user/user_authority_list/', {
    method: 'GET',
    params,
  });
}
export async function user_create(params?: any) {
  return request('/api/user/user_create/', {
    method: 'POST',
    params,
  });
}
export async function user_update(params?: any) {
  return request('/api/user/user_update/', {
    method: 'POST',
    params,
  });
}